package com.chenxiao.Composite;

/**
 * @Author: CX
 * @Date: Created in  2024/04/03 10:12
 * @version: v1.0
 * @Description: TODO 组合模式中的叶子节点
 **/
public class Leaf implements Component{
    @Override
    public void operation() {
        // 叶子节点的具体操作
        System.out.println("Leaf operation.");
    }
}
